import logging
from functools import wraps

# logger = logging.getLogger('app')
# handler = logging.FileHandler('logs/out.log')
# handler.setFormatter(logging.Formatter(
#     '[%(asctime)s %(name)s] %(levelname)s: %(message)s'
# ))
logging.basicConfig(
    filename='logs/out.log',
    format='[%(asctime)s %(name)s ] %(levelname)s: %(message)s',
    level=logging.INFO,
)
